package com.oa.pm.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 招聘申请表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("pm_recruitment")
@ApiModel(value = "招聘申请表")
public class Recruitment extends Model<Recruitment> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "申请人（用户id）")
    private String proposer;

    @ApiModelProperty(value = "申请时间")
    private Date applyTime;

    @ApiModelProperty(value = "需求人数")
    private Integer needPeopleNum;

    @ApiModelProperty(value = "拟任岗位及职务")
    private String proposedPostPosition;

    @ApiModelProperty(value = "期望到职时间")
    private Date expectedArrivalTime;

    @ApiModelProperty(value = "直接主管(用户id)")
    private String directManager;

    @ApiModelProperty(value = "增补理由")
    private String supplementaryReason;

    @ApiModelProperty(value = "年龄")
    private String age;

    @ApiModelProperty(value = "性别（1-男  2-女）")
    private Integer gender;

    @ApiModelProperty(value = "受教育程度")
    private String degreeEducation;

    @ApiModelProperty(value = "所学专业")
    private String major;

    @ApiModelProperty(value = "工作经验")
    private String workExperience;

    @ApiModelProperty(value = "其他能力")
    private String otherCapabilities;

    @ApiModelProperty(value = "建议试用期工资(审批者审批时填写)")
    private String wageDuringProbationPeriod;

    @ApiModelProperty(value = "建议转正后工资(审批者审批时填写)")
    private String regularWages;

    @ApiModelProperty(value = "建议年度奖金金额(审批者审批时填写)")
    private String recommendedAnnualBonusAmount;

    @ApiModelProperty(value = "是否删除(1-已删除 2-未删除)")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}